package com.wyix.service;

import com.wyix.domain.User;

import java.util.List;
import java.util.Optional;

/**
 * @author wangdx
 * @since 2025/8/20
 */

public interface UserService {
    List<User> findAll();
    Optional<User> getById(Long id);
    User create(User user);
    boolean update(Long id, User user);
    boolean deleteById(Long id);
}
